* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-color: #000;
}

.container {
  position: relative;
  overflow: hidden;
  height: 100vh;
  animation: anim 4s linear infinite;
}

@keyframes anim {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

.row {
  display: inline-flex;
  margin-left: -50px;
  margin-top: -32px;
  overflow: hidden;
}

.row:nth-child(even) {
  margin-left: 1px;
}

.shape {
  position: relative;
  height: 110px;
  width: 100px;
  background-color: #111;
  margin: 1px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%,
      0% 75%, 0% 25%);
  transition: all 2s;
}

.shape::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  background-color: rgba(255, 255, 255, .02)
  ;
}

.shape:hover {
  background-color: red;
  transition: 0s;
}
